package com.example.demo.readController;

import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.FileInputStream;

@RestController
public class R3

{
    @GetMapping("3")
    public void test3(){
        try (FileInputStream fis = new FileInputStream("D:\\莱西有利数据\\1\\莱西有礼数据导出\\储值卡账户信息.xlsx"); // 更改文件路径或扩展名
             XSSFSheet workbook = new XSSFSheet(fis)) {
            // 使用 XSSFWorkbook 代替 HSSFWorkbook
        }
    }
}
